<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>
<base href="<%=basePath%>">
<head>
<meta charset="UTF-8">
<title>添加管理员</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/dashboard.css" />
</head>
<body>
	<!--上部导航栏start-->
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#navbar" aria-expanded="false"
					aria-controls="navbar">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">众筹管理平台</a>
			</div>
			<div id="navbar" class="navbar-collapse collapse">

				<ul class="nav navbar-nav navbar-right">
					<li><a href="index.do">首页</a></li>
					<li><a href="javascript:void(0)">欢迎,
							${login_admin.adminRealname }</a></li>
					<li><a href="admin/quit.do" title="退出登录">退出</a></li>
				</ul>
			</div>
		</div>
	</nav>
	<!--上部导航栏end-->
	<div class="container-fluid">
		<div class="row">
			<!--左侧导航栏start-->
			<div class="col-sm-3 col-md-2 sidebar">
				<ul class="nav nav-sidebar">
					<li><a href="index.do">首页</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><a href="project/queryAll.do">所有项目</a></li>
					<li><a href="project/queryByType.do">项目审核</a></li>
					<li><a href="javascript:void(0)">项目跟踪</a></li>
					<li><a href="comment/queryAll.do">项目评论</a></li>
					<li><a href="classify/queryAll.do">项目分类</a></li>
					<li><a href="javascript:void(0)">项目推荐</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><a href="user/queryAll.do">注册用户</a></li>
					<li><a href="javascript:void(0)">用户资金</a></li>
					<li><a href="log.do">用户日志</a></li>
					<li><a href="user/queryByRole.do">实名审核</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><a href="javascript:void(0)">新闻管理</a></li>
					<li class="active"><a href="problem/queryAll.do">问题管理</a></li>
					<li><a href="admin/queryAll.do">管理用户</a></li>
					<li><a href="managelog.do">管理日志</a></li>
				</ul>
			</div>
			<!--左侧导航栏end-->
			<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
				<h1 class="page-header">添加问题</h1>

				<div class="panel panel-default"></div>
				<div class="panel panel-default">
					<div class="panel-heading">
						<div class="panel-title"></div>
					</div>
					<div class="panel-body">

						<div class="table-responsive ">
							<form action="admin/addAdmin.do" method="post">

								<div class="form-group">
									<input type="text" class="form-control" name="adminRealname"
										placeholder="管理员姓名">
								</div>
								<div class="form-group">
									<input type="text" class="form-control" name="adminName"
										placeholder="管理员账号">
								</div>

								<div class="form-group">
									<input type="text" class="form-control" name="adminPassword"
										placeholder="管理员密码">
								</div>

								<div class="form-group">
									管理员等级：<select name="adminPower">
										<option value="3">管理员</option>
										<option value="1">总经理</option>
										<option value="2">超管</option>
									</select>
								</div>
								&nbsp;&nbsp;
								<button type="submit"
									class="btn btn-default btn-primary pull-right">添加</button>
							</form>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div>
	<script type="text/javascript" src="js/jquery1.12.4.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/countUp.js"></script>
	<script>
		
	</script>

</body>
</html>